/**
 * 
 */
package model;

/**
 * @author yuqi
 *
 */
import java.sql.Date;

public class GetDate {
	private GetDate(){
	}
	
	@SuppressWarnings("deprecation")
	public static Date getDate(){
		int year = (new java.util.Date()).getYear();
		int month = (new java.util.Date()).getMonth();
		int day = (new java.util.Date()).getDate();
		return new Date(year, month, day);
	}
}
